configure snmpv3 add community

configure snmpv3 add community [[hex hex_community_index] | community_index] [encrypted name community_name | name [[hex hex_community_name] | community_name] {store-encrypted} ] user [[hex hex_user_name] | user_name] {tag [[hex transport_tag] | transport_tag]} {volatile}

Description

Adds an SNMPv3 community entry.

Syntax Description

hex_community_index Specifies the row index in the snmpCommunity table as a hex value supplied as a colon separated string of hex octets.
community_index Specifies the row index in the snmpCommunity Table as an ASCII value.
hex_community_name Specifies the community name as a hex value supplied as a colon separated string of hex octets.
community_name Specifies the community name as an ASCII value.
hex_user_name Specifies the USM user name as a hex value supplied as a colon separated string of hex octets.
user_name Specifies the USM user name as an ASCII value.
tag Specifies the tag used to locate transport endpoints in SnmpTargetAddrTable. When this community entry is used to authenticate v1/v2c messages, this tag is used to verify the authenticity of the remote entity.hex_transport_tag—Specifies a hex value supplied as a colon separated string of hex octetstransport_tag—Specifies an ASCII value
volatile Specifies volatile storage.

Default

N/A.

Usage Guidelines

Use this command to create or modify an SMMPv3 community in the community MIB.

Community name as a blank string is not accepted.

Example

switch # configure snmp add community readonly extreme store-encrypted
switch # show snmpv3 community
Community Index  : extreme
Community Name   : hys{fnj (encrypted)
Security Name    : v1v2c_ro
Context EngineID : 80:00:07:7c:03:00:04:96:27:b6:63
Context Name     :
Transport Tag    :
Storage Type     : NonVolatile
Row Status       : Active
switch # configure snmp add community readwrite extreme123
switch # show snmpv3 community
Community Index  : extreme
Community Name   : hys{fnj (encrypted)
Security Name    : v1v2c_ro
Context EngineID : 80:00:07:7c:03:00:04:96:27:b6:63
Context Name     :
Transport Tag    :
Storage Type     : NonVolatile
Row Status       : Active
Community Index  : extreme123
Community Name   : extreme123
Security Name    : v1v2c_rw
Context EngineID : 80:00:07:7c:03:00:04:96:27:b6:63
Context Name     :
Transport Tag    :
Storage Type     : NonVolatile
Row Status       : Active
switch # show configuration "snmp"
#
# Module snmpMaster configuration.
#
configure snmpv3 add community extreme encrypted name hys{fnj user v1v2c_ro
configure snmpv3 add community extreme123 name extreme123 user v1v2c_rw
The following command creates an entry with the community index comm_index, community name comm_public, and user (security) name v1v2c_user:
configure snmpv3 add community comm_index name comm_public user v1v2c_user

History

This command was first available in ExtremeXOS. 10.1.

The hex_community_index, hex_community_name, hex_user_name, and hex_transport_tag parameters were added in ExtremeXOS 11.0.

Platform Availability

This command is available on all Universal switches supported in this document.